package com.ruoyi.manage.article.mapper;

import java.util.List;
import com.ruoyi.manage.article.domain.Project;
import org.apache.ibatis.annotations.Mapper;

/**
 * projectMapper接口
 * 
 * @author ruoyi
 * @date 2024-11-21
 */
@Mapper
public interface ProjectMapper 
{
    /**
     * 查询project
     * 
     * @param id project主键
     * @return project
     */
    public Project selectProjectById(Long id);

    /**
     * 查询project列表
     * 
     * @param project project
     * @return project集合
     */
    public List<Project> selectProjectList(Project project);

    /**
     * 新增project
     * 
     * @param project project
     * @return 结果
     */
    public int insertProject(Project project);

    /**
     * 修改project
     * 
     * @param project project
     * @return 结果
     */
    public int updateProject(Project project);

    /**
     * 删除project
     * 
     * @param id project主键
     * @return 结果
     */
    public int deleteProjectById(Long id);

    /**
     * 批量删除project
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteProjectByIds(Long[] ids);

    Integer projectReviewed();

    Integer projectNotAudited();
}
